package com.itheima.mapper;

import com.itheima.common.entity.QueryPageBean;
import com.itheima.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.domain.jaxb.SpringDataJaxb;

import java.util.List;

@Mapper
public interface OrderDao {

    //分页查询
    @Select("select * from chuanzhi.t_order")
    List<Order>findPage(QueryPageBean page);

    void update(Order order);
}
